const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  userId: state => state.user.userId,
  avatar: state => state.user.avatar,
  menus: state => state.user.menus,
  username: state => state.user.username,
  phone: state => state.user.phone,
  leftMenus: state => state.user.leftMenus,
  staffAuth: state => state.user.staff_auth,
  props: state => state.cache.props || {}
}
export default getters
